package com.wsoft.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统配置表
 * </p>
 *
 * @author kyle
 * @since 2024年09月01日 08:51:54
 */
@Getter
@Setter
@TableName("ts_config")
@Schema(name = "TsConfigEntity", description = "系统配置表")
public class TsConfigEntity extends BaseEntity {

    @Schema(description = "编码")
    @TableField("code")
    private String code;

    @Schema(description = "名称")
    @TableField("name")
    private String name;

    @Schema(description = "数据类型(0:字符串；1:图片)")
    @TableField("type")
    private Integer type;

    @Schema(description = "数据")
    @TableField("value")
    private String value;

    @Schema(description = "说明")
    @TableField("info")
    private String info;

    @Schema(description = "是否允许单位自定义")
    @TableField("is_org_init")
    private Integer isOrgInit;

    @Schema(description = "是否允许个人自定义")
    @TableField("is_member_init")
    private Integer isMemberInit;

}
